<?php
    $html = $_REQUEST['html'];
    //$section = $_REQUEST['section'];
    
    
    
    $section = "section_header/templates" . str_replace("http://{$_SERVER['SERVER_NAME']}", "",  $_REQUEST['section']);
    
    chdir("../..");
    file_put_contents("$section","$html");
    
    
    
    echo $html;





?>